<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" 
%><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" 
%><%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" 
%><%@ page contentType="text/html;charset=ISO-8859-1"
%><html:html>
    <head meta-id="RUwRtYNJo2B5pfMQOcU7bA==">
        <title><bean:message key="V_Agregar_Deportista.title"/></title>
        
        

    </head>
    <body>
           <ul id="nav">
            <li><html:link action="/A_PreGestion_Deportista.do">Volver</html:link></li>
        </ul>
        
        
        
       
        
         
       
        <html:javascript formName="RegistroDeportistaForm"/>
	<html:form action="/agregarDeportista" method="post" acceptCharset="ISO-8859-1" onsubmit="return validateRegistroDeportistaForm(this);">
            <table cellpadding="0" cellspacing="0"  class="table-form" align="center">
                <logic:notEmpty name="error">
                    <tr>
                        <td colspan="5" align="center" class="errors">
                            El deportista no puede ser agregado porque ya existe
                        </td>
                    </tr>

                </logic:notEmpty>
                <tr><td>
                        Nombre de Deportista: 
                    </td>
                    <td>
                        <bean:write name="RegistroUsuario" property="nombres" />
                        <bean:write name="RegistroUsuario" property="apellidos" />
                        
                    </td>
                </tr>
                <tr>
                    <td>C&eacute;dula:</td>
                    <td><html:text property="ci" size="30" name="RegistroUsuario" readonly="true" 
                               onfocus="mostrarC(0);" onblur="ocultarC(0);"/></td>
                    <td><div class="comentario" id="c0"></div></td>
                </tr>
           
                <tr>
                    <td>Fecha de Nacimiento:</td>
                    <td><html:text  property="fnac" size="30" value="" maxlength="10"
                                onfocus="mostrarC(1);" onblur="ocultarC(1);" /></td>
                    <td><div class="comentario" id="c1"></div></td>
                </tr>
                <tr>
                    <td>C&oacute;digo Carrera:</td>
                    <td><html:text property="codCarrera" size="30" value="" maxlength="5"
                               onfocus="mostrarC(2);" onblur="ocultarC(2);" /></td>
                    <td><div class="comentario" id="c2"></div></td>
                </tr>
                <tr>
                    <td>N&uacute;mero de Celular:</td>
                    <td><html:text property="celular" maxlength="11" size="30" value="" /></td>
                </tr>
                <tr>
                    <td class="camp-oblig" colspan="2">
                        <div>Todos los campos son obligatorios.</div>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" class="errors">
                        <html:errors/>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <html:submit styleClass="button"  value="Agregar"/>
                    </td>
                </tr>                
            </table>
        </html:form>    
            
            
               
    </body>
</html:html>